﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using agsXMPP;
using agsXMPP.Xml.Dom;
using agsXMPP.sasl;
using agsXMPP.protocol.client;
using agsXMPP.protocol.iq.roster;
using agsXMPP.protocol.iq.agent;

namespace testClient {
    internal class XmppConnectionEvents {
        public static void onReadXml(object sender, string content) {
            return;
        }
        public static void onWriteXml(object sender, string content) {
            return;
        }

        public static void onRosterStart(object sender) {
            return;
        }
        public static void onRosterEnd(object sender) {
            return;
        }
        public static void onRosterItem(object sender, RosterItem content) {
            return;
        }

        public static void onAgentStart(object sender) {
            return;
        }
        public static void onAgentEnd(object sender) {
            return;
        }
        public static void onAgentItem(object sender, Agent content) {
            return;
        }

        public static void onLogin(object sender) {
            return;
        }
        public static void onClose(object sender) {
            return;
        }
        public static void onPresence(object sender, Presence presence) {
            return;
        }
        public static void onMessage(object sender, Message message) {
            return;
        }
        public static void onIq(object sender, IQ iq) {
            return;
        }

        public static void onError(object sender, Exception ex) {
            return;
        }
        public static void onAuthError(object sender, Element element) {
            return;
        }

        public static void onSocketReceive(object sender, byte[] data, int count) {
            return;
        }
        public static void onSocketSend(object sender, byte[] data, int count) {
            return;
        }

        public static bool onSocketValidateCertificate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) {
            return true;
        }

        public static void onStateChanged(object sender, XmppConnectionState state) {
            return;
        }
        public static void onSaslStart(object sender, SaslEventArgs args) {
            return;
        }
    }
}
